﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RMS.Utils.MVP;
using RMS.Web.Shell.View;
using RMS.DataAccess.Entities;
using RMS.DataAccess.Repositories;
using RMS.Utils.Authentication;
using RMS.Utils.Dicom;

namespace RMS.Web.Shell.Presenter
{
    public class DeafaultMasterPagePresenter : Presenter<IDefaultMasterPageView>
    {
        IAuthentication _authentication;

        public DeafaultMasterPagePresenter(IAuthentication authentication, DicomFile dicom)
        {
            _authentication = authentication;
        }

        public string GetDisplayName()
        {
            return _authentication.CurrentLogedInMember.NameTitile + " : " + _authentication.CurrentLogedInMember.FirstName;
        }
    }
}
